package com.hs.bai.pojo;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 创建订单基本信息
 * </p>
 *
 * @author Dingkun Bai
 * @since 2022-06-13
 */
@TableName("t_orderbasicinfo")
@ApiModel("订单基本信息实体")
public class Orderbasicinfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单编号
     */
    private String id;

    /**
     * 客户订单编号
     */
    private Integer customerOrderId;

    /**
     * 客户名称
     */
    private String customerName;

    /**
     * 客户合同
     */
    private String customerContract;

    /**
     * 订单来源
     */
    private Integer ordersources;

    /**
     * 订单类型
     */
    private Integer orderType;

    /**
     * 运输方式
     */
    private Integer transType;

    /**
     * 急单
     */
    private Integer urgentOrder;

    /**
     * 接单日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private Date receiptDate;

    /**
     * 操作人
     */
    private String operator;

    /**
     * 备注
     */
    private String remarks;

    /**
     * 回单编号
     */
    @JsonProperty("tRId")
    private Integer tRId;

    /**
     * 逻辑删除
     */
    @TableLogic
    private Boolean deleted;

    public Boolean getDeleted() {
        return deleted;
    }

    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getCustomerOrderId() {
        return customerOrderId;
    }

    public void setCustomerOrderId(Integer customerOrderId) {
        this.customerOrderId = customerOrderId;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getCustomerContract() {
        return customerContract;
    }

    public void setCustomerContract(String customerContract) {
        this.customerContract = customerContract;
    }

    public Integer getOrdersources() {
        return ordersources;
    }

    public void setOrdersources(Integer ordersources) {
        this.ordersources = ordersources;
    }

    public Integer getOrderType() {
        return orderType;
    }

    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }

    public Integer getTransType() {
        return transType;
    }

    public void setTransType(Integer transType) {
        this.transType = transType;
    }

    public Integer getUrgentOrder() {
        return urgentOrder;
    }

    public void setUrgentOrder(Integer urgentOrder) {
        this.urgentOrder = urgentOrder;
    }

    public Date getReceiptDate() {
        return receiptDate;
    }

    public void setReceiptDate(Date receiptDate) {
        this.receiptDate = receiptDate;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Integer gettRId() {
        return tRId;
    }

    public void settRId(Integer tRId) {
        this.tRId = tRId;
    }
}
